package com.tree.backend.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 供电企业信息表
 * </p>
 *
 * @author tree
 * @since 2025-11-09
 */
@ToString
@Data
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 企业唯一标识ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 企业名称
     */
    private String companyName;

    /**
     * 联系电话
     */
    private String contactPhone;

    /**
     * 是否订阅套餐(是,否)
     */
    private Integer hasSubscription;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
